home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 1992 August / info-mac-1992.iso / Report / Mac to Workstation.txt < prev    next >
Text File  |  1992-08-28  |  7KB  |  182 lines

  1. Subject: How To Connect A Mac To A Workstation 
  2. Date: Thu, 14 May 92 10:41:02 -0400 
  3. From: Carl Hommel <carlton@apollo.hp.com>
  4.  
  5. How To Connect A Mac To A Workstation
  6. May 14, 1992
  7.  
  8. There are two ways to connect a Mac to a workstation: via Ethernet, or
  9. via a serial line.  Ethernet is faster, but more expensive.  All of the
  10. software described herein is shareware or public domain.  See below for
  11. where to get it.
  12.  
  13. ETHERNET
  14.  
  15. As you would expect with computers, there are several ways to hook your
  16. Mac into an Ethernet.
  17.  
  18. 1.  Buy an Ethernet card, and put it in your Mac II, SE, or SE/30.
  19. 2.  Buy an Ethernet box, and hook it up to any Mac with a SCSI port.
  20. 3.  Buy a LocalTalk to Ethernet converter box.
  21.  
  22. None of these methods are simple; after you buy the hardware you need
  23. to decide whether you want to buy MacTCP, get an IP number from your
  24. network administrator, use the Network and Chooser control panels
  25. correctly, etc.  Eric Behr has written a useful guide to MacTCP; see
  26. below on where to get it. The rest of this section assumes that this
  27. has been done, and you want to know how to use telnet and ftp.
  28.  
  29. There are two versions of NCSA Telnet, one for use on a Mac with MacTCP
  30. installed, and one without.  Both have identical functionality.  Make
  31. sure you use the correct one.  If you have MacTCP installed, use Fetch
  32. for ftp, as it is more Mac-like.
  33.  
  34. Using NCSA Telnet for a telnet session:
  35. 1.  Find and double click on the icon.  Check the Apple Menu.
  36. 2.  The program should briefly display an "About" window, and then
  37.     the menus will change.
  38. 3.  Pull down the "File" menu, and select "Open".  A dialog box will
  39.     appear.  Accept the defaults by hitting return.
  40. 4.  If the network connection is broken, you will get an error message
  41.     "could not connect with host".  Go ask for help.  If things are ok,
  42.     then you will see a 24x80 window, with a login prompt.
  43. 5.  Log in using your usual account name and password.  You are now
  44.     logged into your Unix workstation, using a vt100 emulator.
  45.  
  46. Using NCSA Telnet for a ftp session:
  47. If you do not have MacTCP, you will need to use the builtin ftp.
  48. 1.  Pull down the "File" menu, and select "transfer directory".  The
  49.     standard SFOpen dialog box will appear.  Set the directory on the
  50.     Mac that you want to move files into and out of.
  51. 2.  Pull down the "File" menu, and select "Smart MacBinary".
  52. 3.  Change to the Domain/OS directory that you wish to transfer files in.
  53.         % cd //foo/bar/macintosh/ftp_stuff
  54. 4.  Type in 
  55.         % ftp 
  56.     but do not hit <RETURN>.
  57. 5.  Pull down the "Connect" menu, and select "send IP address".  The
  58.     line in your login window should now look something like
  59.         % ftp 15.nn.nn.nn
  60.     Now, hit <RETURN>.
  61. 6.  The Unix ftp program will try to open a ftp session with your Mac. 
  62.     Just hit <RETURN> when it asks for login and password.
  63. 7.  You are now running a ftp session.  See the ftp(1) man page for
  64.     helpful advice.  You will usually want to type 
  65.         ftp> prompt
  66.         ftp> binary
  67.  
  68.     To transfer files from the Unix filesystem to your Macintosh, type
  69.         ftp> mput file1 binary.bin file2 file3
  70.  
  71.     To transfer files from the Macintosh to your Unix filesystem, type
  72.         ftp> mget msword_document excel_spreadsheet file1 file2
  73.  
  74. 8.   When you are done, be sure to log out.  You are not always
  75.     automatically logged out when the Mac is shutdown.
  76.  
  77. Using Fetch for a ftp session:
  78. 1.  Double click on the Fetch icon.
  79. 2.  A dialog box will ask you for the following information:
  80.         o internet address of the machine you want to log into
  81.         o login you will use
  82.         o password you will use
  83.     If the machine you are connecting to supports anonymous ftp, you
  84.     can use that.  Otherwise, use your login name and password.
  85. 3.  The Fetch program logs in, and gets a list of files in the top
  86.     level directory.  It presents this in a very familiar looking
  87.     dialog box.
  88.  
  89.     To transfer files from the Unix filesystem to your Macintosh, just
  90.     highlight those files, and push the "tranfer" button.
  91.  
  92.     To transfer files from the Macintosh to your Unix filesystem, use
  93.     the pull-down menu.
  94.  
  95.     You can use the menu to transfer entire directories with all their
  96.     contents.  By default, Fetch recognizes MacBinary files, and will
  97.     automatically uncompress Stuffit archives.
  98.  
  99.  
  100.  
  101. SERIAL LINE
  102.  
  103. For people willing live with a transfer rate of about 1.5K cps, do the
  104. following:
  105.  
  106. Hardware
  107. 1.  Get (or make) a null modem Mac-to-RS232 cable.
  108. 2.  Connect the modem port in the back of the Mac (the one with
  109.     the phone symbol) with the tty01 port of your workstation.
  110. 3.  Edit the file /sys/node_data/etc/ttys , and change the line
  111.         tty01    none            dumb    off    secure
  112.     to
  113.         tty01    "/etc/getty 19200-baud"  vt100   on       secure
  114. 4.  (As root), send a HUP signal to the init process, by
  115.         # kill -1 1
  116. 5.  Check and make sure the process is running:
  117.         bsd4.3 # ps ax | grep tty01
  118.            or
  119.         sys5.3 # ps -ef | grep tty01
  120.         7392 ?       S     0:00 - 19200-baud tty01
  121.  
  122. Note for PowerBook users: You will have to select the "external" modem
  123. port in your Portable Control Panel.
  124.  
  125. Software:
  126. 1.  Find a Mac terminal emulator that supports the zterm protocol.
  127.     The directions below are for ZTerm.
  128. 2.  Get the Unix zmodem package, and compile it.  It is available
  129.     from sumex.stanford.edu as /info-mac/unix/zmodem-part[1234].shar.
  130.     This will give you the rz and sz programs.
  131.                     
  132. Mac Usage:
  133. Double click on the ZTerm icon.  Set the baud rate to 19.2K.  The other
  134. default settings are harmless.  You should now see a login prompt, so
  135. login.
  136.  
  137. Modem usage:
  138. If you are dialing in over a phone line, then use a modem Mac-to-RS232
  139. cable.  Set the ZTerm baud rate to whatever your telecommunications
  140. equipment expects.
  141.  
  142. To transfer files from the Unix filesystem to your Macintosh, type
  143.     % sz file1 binary.bin file2 file3
  144. It will respond
  145.     Sending in Batch Mode
  146. and wait.  The ZTerm program will catch the magic zmodem characters,
  147. and put the file onto your Mac disk.
  148.  
  149. To transfer files from the Macintosh to your Unix filesystem, just type
  150.     % rz
  151. It will respond
  152.     rz ready. To begin transfer, type "sz file ..." to your modem program
  153. The pulldown menu item "zmodem transfer" will give you the standard
  154. dialog box to select Mac files.
  155.  
  156. There may be occasional problems with the interaction between sz and
  157. your network.  If you are getting a throughput of 3%, rather than
  158. 75-90%, try setting the Zmodem parameters pulldown menu so that it uses
  159. a size of 1024 instead of automatic.
  160.  
  161. An incredibly useful Unix program is mcvert.  Mcvert converts binhexed
  162. *.hqx files into MacBinary *.bin files.  The intellegent file transfer
  163. programs will take the MacBinary file make it a normal Mac file - no
  164. need to run binhex!
  165.  
  166. SOFTWARE INFORMATION
  167.  
  168. >From sumex.stanford.edu:
  169. /info-mac/comm/fetch-206.hqx           the Fetch ftp program
  170. /info-mac/comm/zterm-09.hqx            the ZTerm terminal emulator
  171. /info-mac/unix/mcvert-165.shar         the Unix .hqx -> .bin converter
  172. /info-mac/unix/zmodem-part[1-4].shar   the Unix zmodem programs
  173. /info-mac/report/mac-tcp-info.txt      the MacTCP guide
  174.  
  175. >From ftp.ncsa.uiuc.edu
  176. /Mac/Telnet/Telnet2.*                  the NCSA Telnet program
  177.  
  178. Carl Hommel
  179. carlton@apollo.hp.com
  180.  
  181.  
  182.